package com.supermap.application.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * @ClassName TIndexSysTypeColData
 * @Description 指标数据
 * @Author HEKE
 * @Date 2019/2/21 19:54
 */

@Entity
@Table(name = "T_ECO_B001_2017")
public class TIndexSysTypeColData {
    //指标编码
    private String index_code;
    //指标名称
    private String index_name;
    //地区编码
    private String diqu;
    //地区名称
    private String diqu_name;
    //计划完成量
    private Double jh_wcl;
    //计划增速
    private Double jh_zs;
    //实际完成量
    private Double sj_wcl;
    //实际增速
    private Double sj_zs;
    //报告期
    private String time;
    //标识
    private String id;
    //打分
    private Double score;
    //文本编辑
    private String editor_context;

    public TIndexSysTypeColData() {
    }

    public TIndexSysTypeColData(String index_code, String index_name, String diqu, String diqu_name, Double jh_wcl, Double jh_zs, Double sj_wcl, Double sj_zs, String time, String id, Double score, String editor_context) {
        this.index_code = index_code;
        this.index_name = index_name;
        this.diqu = diqu;
        this.diqu_name = diqu_name;
        this.jh_wcl = jh_wcl;
        this.jh_zs = jh_zs;
        this.sj_wcl = sj_wcl;
        this.sj_zs = sj_zs;
        this.time = time;
        this.id = id;
        this.score = score;
        this.editor_context = editor_context;
    }

    @GenericGenerator(name = "generator", strategy = "increment")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "ID_", unique = true, nullable = false, precision = 10, scale = 0)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "INDEX_CODE_", length = 100)
    public String getIndex_code() {
        return index_code;
    }

    public void setIndex_code(String index_code) {
        this.index_code = index_code;
    }

    @Column(name = "INDEX_NAME_", length = 100)
    public String getIndex_name() {
        return index_name;
    }

    public void setIndex_name(String index_name) {
        this.index_name = index_name;
    }

    @Column(name = "DIQU_", length = 100)
    public String getDiqu() {
        return diqu;
    }

    public void setDiqu(String diqu) {
        this.diqu = diqu;
    }

    @Column(name = "DIQU_NAME_", length = 50)
    public String getDiqu_name() {
        return diqu_name;
    }

    public void setDiqu_name(String diqu_name) {
        this.diqu_name = diqu_name;
    }

    @Column(name = "JH_WCL_")
    public Double getJh_wcl() {
        return jh_wcl;
    }

    public void setJh_wcl(Double jh_wcl) {
        this.jh_wcl = jh_wcl;
    }

    @Column(name = "JH_ZS_")
    public Double getJh_zs() {
        return jh_zs;
    }

    public void setJh_zs(Double jh_zs) {
        this.jh_zs = jh_zs;
    }

    @Column(name = "SJ_WCL_")
    public Double getSj_wcl() {
        return sj_wcl;
    }

    public void setSj_wcl(Double sj_wcl) {
        this.sj_wcl = sj_wcl;
    }

    @Column(name = "SJ_ZS_")
    public Double getSj_zs() {
        return sj_zs;
    }

    public void setSj_zs(Double sj_zs) {
        this.sj_zs = sj_zs;
    }

    @Column(name = "TIME_")
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }



    @Column(name = "SCORE_")
    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    @Column(name = "EDITOR_CONTEXT_", length = 4000)
    public String getEditor_context() {
        return editor_context;
    }

    public void setEditor_context(String editor_context) {
        this.editor_context = editor_context;
    }

    @Override
    public String toString() {
        return "TIndexSysTypeColData{" +
                "index_code='" + index_code + '\'' +
                ", index_name='" + index_name + '\'' +
                ", diqu='" + diqu + '\'' +
                ", diqu_name='" + diqu_name + '\'' +
                ", jh_wcl=" + jh_wcl +
                ", jh_zs=" + jh_zs +
                ", sj_wcl=" + sj_wcl +
                ", sj_zs=" + sj_zs +
                ", time='" + time + '\'' +
                ", id='" + id + '\'' +
                ", score=" + score +
                ", editor_context='" + editor_context + '\'' +
                '}';
    }
}
